#!/usr/bin/env bash

PREFIX=$(realpath $(cd "$(dirname "$0")"; pwd))

cd $PREFIX
if ! hash parcel 2>/dev/null; then
yarn global add parcel-bundler
fi
if [ ! -d node_modules ]; then
yarn
fi
./import.coffee > src/.import.js
yarn run start
